<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统- 后台管理</title>
<link href="<%=basePath%>/css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath%>/js/main.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/datepicker/WdatePicker.js"></script>
<script type="text/javascript">
	function checkForm(){
		var reg = new RegExp("^((-[0-9]+)|([0-9])*)$");
		
		if($("input[name='place.name']").val()==""){
			alert("名称不能为空");
			$("input[name='place.name']").focus();
			return false;
		}
		
		if(!reg.test($("#seq").val())){
			alert("排序值请输入数字!");
			$("#seq").val();
			$("#seq").focus();
			return false;
		}
		$("#form1").submit();
		return true;
		
	};
</script>
</head>
<body>
<div style="padding: 2px;">
	<form id="accountEditForm"  name="accountEditForm" action="<%=basePath%>/saveAccount.do" method="post" target="consoleFrame" >
			<table width="500" border="1" cellpadding="1" cellspacing="0"
				bordercolor="#eeeeee">
				<tr>
					<td height=25>交易类型：</td>
					<td><select name="account.type" >
							<option id="yQzPk" selected="selected" 
								value="">请选择</option>
							<option id="yQzPm" value="RECHARGE">充值</option>
							<option id="yQzPo" value="DRAWOUT">提现</option>
							<option id="yQzPq" value="REFUND">退款</option>
							<option id="yQzPs" value="PAYMENT">支付</option>
					</select></td>
				</tr>
				<tr>
					<td height=25>用户编号：</td>
					<td><input name="account.userId" type="text" class="input1"
						id="account.userId" value="" size="30" verify="NotNull" /></td>
				</tr>
				<tr>
					<td height=25>账户编号：</td>
					<td><input name="account.bankId" type="text" class="input1"
						id="account.bankId" value="" size="30" verify="NotNull" /></td>
				</tr>
				<tr>
					<td height=25>充值：</td>
					<td><input name="account.amount" type="text" class="input1"
						id="account.amount" value="" size="30" verify="NotNull" /></td>
				</tr>
				<tr>
					<td height=25>操作说明：</td>
					<td><input name="account.content" type="text" class="input1"
						id="account.content" value="" size="30" verify="NotNull" /></td>
				</tr>



				<tr align="center">
					<td colspan="2"><input type="submit" onclick="" value="保存" />
						<input type='button' onclick="parent.closeWin();" value="取消" /></td>
				</tr>
			</table>

		</form>
	</div>
	</body>
</html>
